#!/bin/bash
flink="/opt/module/flink-1.13.1-yarn/bin/flink run "
app_jar=/opt/module/gmall2021/gmall-realtime-follow-1.0-SNAPSHOT.jar
apps=(app.dwd.DwdLogAppFollow app.dwd.DwdDBAppFollow) #数组

for app in ${apps[*]}; do #使用数组
  ${flink} -d -j ${app_jar} -c ${app}
done
